package com.cryptoneedle.garden.constant;

/**
 * <p>description:  </p>
 *
 * @author CryptoNeedle
 * @date 2025-07-23
 */
public interface CommonConstant {

    /**
     * TODO 高版本参数
     * "skip_write_index_on_load" = "true",
     * "enable_unique_key_skip_bitmap_column" = "true",
     * "disable_storage_row_cache" = "true"
      */
    String CREATE_TABLE_TEMPLATE = """
            CREATE TABLE IF NOT EXISTS %s.%s(
            %s
            ) UNIQUE KEY(%s)
            COMMENT '%s'
            DISTRIBUTED BY HASH(%s) BUCKETS %s
            PROPERTIES (
                "replication_num" = "3",
                "is_being_synced" = "false",
                "compression" = "LZ4",
                "enable_unique_key_merge_on_write" = "true",
                "light_schema_change" = "true",
                "enable_mow_light_delete" = "false",
                "store_row_column" = "true"
            );""";
}